package com.ruoyi.order.domain;

import java.math.BigDecimal;

import lombok.Builder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐对象 t_set_meal
 *
 * @author ruoyi
 * @date 2022-08-19
 */
@Builder
public class SetMeal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long setMealId;

    /** 菜品分类id */
    @Excel(name = "菜品分类id")
    private Long categoryId;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String setMealName;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal price;

    /** 状态 0:停用 1:启用 */
    @Excel(name = "状态 0:停用 1:启用")
    private String status;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setSetMealId(Long setMealId)
    {
        this.setMealId = setMealId;
    }

    public Long getSetMealId()
    {
        return setMealId;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setSetMealName(String setMealName)
    {
        this.setMealName = setMealName;
    }

    public String getSetMealName()
    {
        return setMealName;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("setMealId", getSetMealId())
                .append("categoryId", getCategoryId())
                .append("setMealName", getSetMealName())
                .append("price", getPrice())
                .append("status", getStatus())
                .append("code", getCode())
                .append("description", getDescription())
                .append("image", getImage())
                .append("sort", getSort())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
